#include "Component.h"



bool Component::Init()
{
    for (auto& item : m_children)
    {
        if (!item.second->Init())
        {
            return false;
        }
    }
    return true;
}
void Component::Reload()
{
    for (auto& item : m_children)
    {
        item.second->Reload();
    }
}
void Component::Release()
{
    for (auto& item : m_children)
    {
        item.second->Release();
    }
}












